<!DOCTYPE html>
<!-- saved from url=(0037)http://w.weipaitang.com/my/attentions -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="format-detection" content="telephone=no">
<link href="<?php echo TEMPLATE_SITE_URL;?>/css/common.css" type="text/css" rel="stylesheet">
<link href="<?php echo TEMPLATE_SITE_URL;?>/css/focus.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="<?php echo RESOURCE_SITE_URL;?>/js/zepto.js" charset="utf-8"></script>
<title><?php echo $output['site_name']?>我屏蔽的</title>
</head>
<body>
<div id="contentbox" style="min-height: 725px;">
  <div class="friendsMain">
  	<?php if(!empty($output['list'])){?>
  	<?php foreach($output['list'] as $val){?>
  	<a href="javascript:;">
    <div class="friend">
      <div class="avatar" style="background-image: url(<?php echo $val['avatar'];?>)"></div>
      <div class="friendDetails">
        <div class="nickname">
          <div class="level sellerLevel l<?php echo strtolower($val['level']);?>"></div>
          <?php echo $val['nickname'];?>
        </div>
        <div class="signature"><?php echo $val['signature'];?></div>
      </div>
      <div class="attention noDisturb">
        <div class="cancel pingbi" pingbiid="<?php echo $val['user_id'];?>"></div>
      </div>
    </div>
    </a>
    <?php }?>
	<?php }?>
  </div>
</div>


<script type="text/javascript">
$(function(){

	$('.pingbi').click(function(){
		var pingbiid = $(this).attr('pingbiid');
		var pingbi = '0';
		$.ajax({
			type:'get',
			url:'index.php?act=my&op=pingbi',
			data:{pingbiid:pingbiid,pingbi:pingbi},
			dataType:'json',
			success:function(){
				alert('操作成功');
				location.reload();
			}	
		});
	});
	
});
</script>

<?php include template('home/nav');?>
</body>
</html>
